package com.hwadee.springboot.controller.ParentController;

import com.hwadee.springboot.entity.R;
import com.hwadee.springboot.service.ParentConService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/examInfo")
public class ParConController {
    @Autowired
    private ParentConService  parentConService;
    @GetMapping
    public R getExamAndParentInfo() {
        return parentConService.getExamAndParentInfo();
    }
}


